package com.gs.weather.service;

import com.gs.weather.entity.DisasterForecast;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface DisasterForecastService {

    Integer add(DisasterForecast disasterForecast);

    ResponseEntity delete(int id);

    ResponseEntity update(DisasterForecast disasterForecast);

    Double queryThreshold(String name);

    List<DisasterForecast> queryAll();
}
